define(function (require, exports, module) {
    "require:nomunge,exports:nomunge,module:nomunge";

    var app = require('mokit/app');
    var UCenterView = require('../views/ucenter-money');
    var commonUtils = require('../common/utils');
    var Umoney = require('../models/Umoney');

    /**
	 * 社友录页面控制器
	 */
    return app.controller.create({
        isSetting: true,
        /**
		 * 默认action
		 */
        index: function (context) {
            var self = this;
            Umoney.getInfo(function(){
            	self.setView(new UCenterView({
            		model: Umoney
            	}));            	
            });

        },
        setMoney: function (context,act) {
            alert(act);
            this.view.prompt("请输入金额");
        },        
        
    });

});